Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker images and GHA to use miniforge #740

Merged
merged 8 commits into from
Aug 30, 2024

Conversation

jashapiro
Copy link
Member

@jashapiro jashapiro commented Aug 30, 2024

Closes #711
Closes #713

In this PR, I changed the GitHub Actions for active modules and templates to use miniforge in place of miniconda.

I also updated the Docker images that use both conda and renv to be set up using miniforge (now mirroring the installation from the miniforge Docker image). I also updated the docs example for that instruction, but I did not do a larger docs update, as I will leave that for #712.

While I was in there, I cleaned a few little things in the Dockerfiles to make them more uniform.

Copy link
Member

@sjspielman sjspielman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming checks pass here (and I don't see why they wouldn't), LGTM!


# Install conda-lock
RUN conda install --channel=conda-forge --name=base conda-lock
RUN conda install --channel=conda-forge --name=base conda-lock && conda clean --all --yes
Copy link
Member

@sjspielman sjspielman Aug 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just spacing

Suggested change
RUN conda install --channel=conda-forge --name=base conda-lock && conda clean --all --yes
RUN conda install --channel=conda-forge --name=base conda-lock \
&& conda clean --all --yes

Copy link
Member

@jaclyn-taroni jaclyn-taroni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 As long as everything passes

@jashapiro jashapiro merged commit 436026b into AlexsLemonade:main Aug 30, 2024
10 checks passed
@jashapiro jashapiro deleted the 711-713-docker-gha-miniforge branch August 30, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update GitHub actions to use miniforge Update and test R/conda combined images with miniforge
3 participants